package com.sgcc.sx.pmos.mobileapp.bean;

import android.text.TextUtils;

import java.util.List;

public class DefaultContactInfoBean {

    private int status;
    private String message;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {


        private String name;
        private String geoId;
        private String postcode;
        private String areaCode;
        private String disId;
        private String nameText;
        private String geogrRegionType;
        private List<DistricsParamsBoDTO> districsParamsBo;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getGeoId() {
            return geoId;
        }

        public void setGeoId(String geoId) {
            this.geoId = geoId;
        }

        public String getPostcode() {
            return postcode;
        }

        public void setPostcode(String postcode) {
            this.postcode = postcode;
        }

        public String getAreaCode() {
            return areaCode;
        }

        public void setAreaCode(String areaCode) {
            this.areaCode = areaCode;
        }

        public String getDisId() {
            return disId;
        }

        public void setDisId(String disId) {
            this.disId = disId;
        }

        public String getNameText() {
            return nameText;
        }

        public void setNameText(String nameText) {
            this.nameText = nameText;
        }

        public String getGeogrRegionType() {
            return geogrRegionType;
        }

        public void setGeogrRegionType(String geogrRegionType) {
            this.geogrRegionType = geogrRegionType;
        }

        public List<DistricsParamsBoDTO> getDistricsParamsBo() {
            return districsParamsBo;
        }

        public void setDistricsParamsBo(List<DistricsParamsBoDTO> districsParamsBo) {
            this.districsParamsBo = districsParamsBo;
        }

        public static class DistricsParamsBoDTO {
            private String label;
            private String value;
            private List<ChildrenDTO> children;

            public String getLabel() {
                return TextUtils.isEmpty(label) ? "" : label;
            }

            public void setLabel(String label) {
                this.label = label;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public List<ChildrenDTO> getChildren() {
                return children;
            }

            public void setChildren(List<ChildrenDTO> children) {
                this.children = children;
            }

            public static class ChildrenDTO {
                private String label;
                private String value;
                private List<ChildrenDTO> children;

                public String getLabel() {
                    return label;
                }

                public void setLabel(String label) {
                    this.label = label;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public List<ChildrenDTO> getChildren() {
                    return children;
                }

                public void setChildren(List<ChildrenDTO> children) {
                    this.children = children;
                }


            }
        }
    }
}
